GXDisposeTransform
You can use theGXDisposeTransform
function to release a reference to a transform object.
void GXDisposeTransform(gxTransform target);
target
- The transform object to dispose of.
DESCRIPTION
TheGXDisposeTransform
function decrements the owner count of the transform object specified by the target parameter, and releases any memory used by the transform if the owner count goes to 0.ERRORS, WARNINGS, AND NOTICES
Errors transform_is_nil
Warnings cannot_dispose_default_transform
(debugging version) SEE ALSO
For an example of the use of this function, see Listing 6-1 on page 6-16.Owner counts for transform objects are discussed in the section "Copying, Comparing, and Cloning Transform Objects" beginning on page 6-16, and in the section "Manipulating a Transform Object's Owner Count" beginning on page 6-19.
To examine the owner count of a transform, use the
GXGetTransformOwners
function, described on page 6-39. To increment the owner count of a transform object, use theGXCloneTransform
function, which is described on page 6-37.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help